package com.doyens.item.json.dto;

import java.util.List;

public class JSONDemo {

    @Override
    public String toString() {
        return "JSONDemo{" +
                "acrossTime=" + acrossTime +
                ", data=" + data +
                ", host='" + host + '\'' +
                ", message='" + message + '\'' +
                ", status=" + status +
                ", timestamp='" + timestamp + '\'' +
                ", traceId='" + traceId + '\'' +
                '}';
    }

    /**
     * acrossTime : 68
     * data : {"errCode":0,"errMsg":"success","resData":{"data":[{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"6","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"7","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"11","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"10","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513333000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"9","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513332000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"8","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513331000,"userId":1}],"pageNum":1,"total":6}}
     * host : 11.167.30.54
     * message : SUCCESS
     * status : 0
     * timestamp : 2021-05-26 19:10:19.304
     * traceId : 0ba71e36-2127-82-1622027419-000001
     */

    private int acrossTime;
    private DataBeanX data;
    private String host;
    private String message;
    private int status;
    private String timestamp;
    private String traceId;

    public int getAcrossTime() {
        return acrossTime;
    }

    public void setAcrossTime(int acrossTime) {
        this.acrossTime = acrossTime;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public static class DataBeanX {
        /**
         * errCode : 0
         * errMsg : success
         * resData : {"data":[{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"6","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"7","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"11","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"10","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513333000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"9","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513332000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"8","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513331000,"userId":1}],"pageNum":1,"total":6}
         */

        private int errCode;
        private String errMsg;
        private ResDataBean resData;

        public int getErrCode() {
            return errCode;
        }

        public void setErrCode(int errCode) {
            this.errCode = errCode;
        }

        public String getErrMsg() {
            return errMsg;
        }

        public void setErrMsg(String errMsg) {
            this.errMsg = errMsg;
        }

        public ResDataBean getResData() {
            return resData;
        }

        public void setResData(ResDataBean resData) {
            this.resData = resData;
        }

        public static class ResDataBean {
            /**
             * data : [{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"6","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"7","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"11","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513334000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"10","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513333000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"9","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513332000,"userId":1},{"bizType":0,"createTime":1621513334000,"deliveryId":"","deliveryStatus":0,"discountMoney":0,"orderId":"8","orderMoney":0,"orderStatus":0,"orgAutoId":1,"produceName":"","promotionCode":"","seriesId":1,"thirdPartyOrderId":"","totalMoney":0,"updateTime":1621513331000,"userId":1}]
             * pageNum : 1
             * total : 6
             */

            private int pageNum;
            private int total;
            private List<DataBean> data;

            public int getPageNum() {
                return pageNum;
            }

            public void setPageNum(int pageNum) {
                this.pageNum = pageNum;
            }

            public int getTotal() {
                return total;
            }

            public void setTotal(int total) {
                this.total = total;
            }

            public List<DataBean> getData() {
                return data;
            }

            public void setData(List<DataBean> data) {
                this.data = data;
            }

            public static class DataBean {
                /**
                 * bizType : 0
                 * createTime : 1621513334000
                 * deliveryId :
                 * deliveryStatus : 0
                 * discountMoney : 0
                 * orderId : 6
                 * orderMoney : 0
                 * orderStatus : 0
                 * orgAutoId : 1
                 * produceName :
                 * promotionCode :
                 * seriesId : 1
                 * thirdPartyOrderId :
                 * totalMoney : 0
                 * updateTime : 1621513334000
                 * userId : 1
                 */

                private int bizType;
                private long createTime;
                private String deliveryId;
                private int deliveryStatus;
                private int discountMoney;
                private String orderId;
                private int orderMoney;
                private int orderStatus;
                private int orgAutoId;
                private String produceName;
                private String promotionCode;
                private int seriesId;
                private String thirdPartyOrderId;
                private int totalMoney;
                private long updateTime;
                private int userId;

                public int getBizType() {
                    return bizType;
                }

                public void setBizType(int bizType) {
                    this.bizType = bizType;
                }

                public long getCreateTime() {
                    return createTime;
                }

                public void setCreateTime(long createTime) {
                    this.createTime = createTime;
                }

                public String getDeliveryId() {
                    return deliveryId;
                }

                public void setDeliveryId(String deliveryId) {
                    this.deliveryId = deliveryId;
                }

                public int getDeliveryStatus() {
                    return deliveryStatus;
                }

                public void setDeliveryStatus(int deliveryStatus) {
                    this.deliveryStatus = deliveryStatus;
                }

                public int getDiscountMoney() {
                    return discountMoney;
                }

                public void setDiscountMoney(int discountMoney) {
                    this.discountMoney = discountMoney;
                }

                public String getOrderId() {
                    return orderId;
                }

                public void setOrderId(String orderId) {
                    this.orderId = orderId;
                }

                public int getOrderMoney() {
                    return orderMoney;
                }

                public void setOrderMoney(int orderMoney) {
                    this.orderMoney = orderMoney;
                }

                public int getOrderStatus() {
                    return orderStatus;
                }

                public void setOrderStatus(int orderStatus) {
                    this.orderStatus = orderStatus;
                }

                public int getOrgAutoId() {
                    return orgAutoId;
                }

                public void setOrgAutoId(int orgAutoId) {
                    this.orgAutoId = orgAutoId;
                }

                public String getProduceName() {
                    return produceName;
                }

                public void setProduceName(String produceName) {
                    this.produceName = produceName;
                }

                public String getPromotionCode() {
                    return promotionCode;
                }

                public void setPromotionCode(String promotionCode) {
                    this.promotionCode = promotionCode;
                }

                public int getSeriesId() {
                    return seriesId;
                }

                public void setSeriesId(int seriesId) {
                    this.seriesId = seriesId;
                }

                public String getThirdPartyOrderId() {
                    return thirdPartyOrderId;
                }

                public void setThirdPartyOrderId(String thirdPartyOrderId) {
                    this.thirdPartyOrderId = thirdPartyOrderId;
                }

                public int getTotalMoney() {
                    return totalMoney;
                }

                public void setTotalMoney(int totalMoney) {
                    this.totalMoney = totalMoney;
                }

                public long getUpdateTime() {
                    return updateTime;
                }

                public void setUpdateTime(long updateTime) {
                    this.updateTime = updateTime;
                }

                public int getUserId() {
                    return userId;
                }

                public void setUserId(int userId) {
                    this.userId = userId;
                }
            }
        }
    }
}
